package cn.wanho.dto;

import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 选择题表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExamChooseSubject implements Serializable {
    /**
    * 选择题表
    */
    private Long id;

    /**
    * 排序
    */
    private Integer sort;

    /**
    * 选择题内容
    */
    private String chooseContent;

    /**
    * 是否单选
    */
    private Byte isAlone;

    /**
    * 选择题答案
    */
    private String chooseAnswer;

    /**
    * 分值
    */
    private Integer chooseScore;

    /**
    * 是否可用
    */
    private Byte isFlag;

    /**
    * 创建时间
    */
    private Date createTime;

    /**
    * 修改时间
    */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public ExamChooseSubject(String chooseContent, String chooseAnswer, Byte isAlone, Integer chooseScore) {
        this.chooseContent = chooseContent;
        this.chooseAnswer = chooseAnswer;
        this.isAlone = isAlone;
        this.chooseScore = chooseScore;
    }
}